package uy.edu.um.ltic.server.persistence;

import java.sql.Connection;
import java.util.ArrayList;

import uy.edu.um.ltic.exception.DataBaseException;

public interface PendingDAOMgt {
	
	void createAll() throws DataBaseException;
	void addPendingTextMessages(int receiverDisconnected, int sender) throws DataBaseException;
	ArrayList<Integer> getPendingTextMessages(int receiverDisconnected) throws DataBaseException;
	void deletePendingTextMessages(int receiverDisconnected) throws DataBaseException;
	void addPendingConferenceMessages(int receiverDisconnected, int idConference) throws DataBaseException;
	ArrayList<Integer> getPendingConferenceMessages(int receiverDisconnected) throws DataBaseException;
	void deletePendingConferenceMessages(int receiverDisconnected) throws DataBaseException;
	Connection openConnection() throws DataBaseException;
	
}
